package cn.tedu.csmall.product.webapi.mapper;

import cn.tedu.csmall.pojo.entity.Attribute;
import cn.tedu.csmall.pojo.vo.AttributeStandardVO;
import org.springframework.stereotype.Repository;

@Repository
public interface AttributeMapper {

    int insert(Attribute attribute);

    AttributeStandardVO getById(Long id);

    AttributeStandardVO getByName(String name);

}
